<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <script src="../static/js/jquery.min.js"></script>
    <link rel="stylesheet" href="../static/css/bootstrap.min.css">
    <script src="../static/js/bootstrap.min.js"></script>
    <title>申请成功</title>
    <link rel="stylesheet" href="style.css">
    <?php
    require_once "session.php";
    $money=$_REQUEST["money"];
    $card_id=$_REQUEST["card_id"];
    $card = $core->GetCardById($card_id);
    $card_num=substr($card["card_num"],count($card["card_num"])-5);
    ?>
</head>
<body>
<div id="head">
    <span style="font-size: 25px;">提现</span>
</div>
<div id="MainPanel">
    <div id="top">
        <div id="winthdraw_icon">
            <img src="../wap/system_icon/icon2.ico" alt="" style="width: 60px;height: 60px">
        </div>
        <div id="winthdraw_title">
            提现申请已提交
        </div>
        <div>预计一个工作日内到账</div>
    </div>
    <div id="winthdraw_center">
        <div class="winthdraw_center_div">
            提现银行卡<div class="pull-right">**** **** **** <?php echo $card_num; ?></div>
        </div>
        <div class="winthdraw_center_div">
            提现金额<div class="pull-right"><?php $res=sprintf("%.2f", $money);echo $res ?>元</div>
        </div>

    </div>
    <div id="bottom">
        <button id="Finish_btn">我知道了</button>
    </div>
</div>
<script>
    var height=document.body.scrollHeight;
    document.getElementById("MainPanel").style.height=height+"px";
    $('#Finish_btn').on("touchend",function () {
       location.href="User_Menu.php";
    });
    $(function() {
        $("[ontouchend]").each(function(index, element) {
            var moved = false;
            var bindFn = function(touchEndFn) {
                if (!moved) {
                    eval(touchEndFn);
                }
                moved = false;
            }
            $(this).bind("touchend", bindFn.bind(this, $(this).attr("ontouchend")));
            $(this).bind("touchmove", function() {
                moved = true;
            });
            $(this).removeAttr("ontouchend");
        });

    })
</script>
</body>
</html>